package game_elements_layer.guys_stuff.guys_actions;

import game_elements_layer.guys_stuff.Guys;
import game_elements_layer.field_stuff.locations_stuff.Locations;
import game_elements_layer.field_stuff.locations_stuff.NoContainedProductionFound;
import game_elements_layer.field_stuff.locations_stuff.NotNearblyLocationException;
import game_elements_layer.resourses_stuff.Resources;

/**
 * Created by vych0914 on 06.10.2014.
 */
public class GuysActions {
    public static GuysActions generateGuysMoveAction(Guys guy, Locations destination) throws NotNearblyLocationException {
        return new GuysMoveAction(guy, destination);
    }
    public static GuysActions generateGuysCreateProductionAction(Guys guy,int creationTime,int cost,Resources resourceType) throws NotEnoughMoneyException {
        return new GuysCreateProductionAction(guy,creationTime,cost,resourceType);
    }
    public static GuysActions generateGuysGatherResourcesAction(Guys guy) throws NoContainedProductionFound {
        return new GuysGatherResourcesAction(guy);
    }

    //переопределяемый метод
    public void perform() {
    }

}
